<div id="column_right">
  <?php foreach ($modules as $module) { ?>
  <?php echo ${$module['code']}; ?>
  <?php } ?>
 
 
    <div class="box">
	 <?php if (!$logged) { ?>
        <div class="top">Account login</div>
        <div class="login">
            <div class="login_content">
			 <form action="<?php echo str_replace('&', '&amp;', $action); ?>" method="post" enctype="multipart/form-data" id="account">
                <label>Username</label>
				<input type="text" name="email" class="input"  />
                <label>Password</label>
               <input type="password" name="password" class="input"  />
                <div class="height5px">&nbsp;</div>
                <input type="checkbox" name="" /> <span>Remenber me</span>
                <div class="height5px">&nbsp;</div>
                <a href="<?php echo str_replace('&', '&amp;', $forgotten); ?>">Forgot Password</a><br />
                <div class="height5px">&nbsp;</div>
                <a onclick="$('#login').submit();"><input type="image" src="catalog/view/theme/default/image/bt_login.png" name="" /></a>
                <div class="height5px">&nbsp;</div>
                <a href="<?php echo str_replace('&', '&amp;', $create_account); ?>"><input type="image" src="catalog/view/theme/default/image/bt_create_account.png" name="" /></a>
            </div>
        </div>
		 <?php }
		 else
		 {
		  ?>
		   <div class="top">My account</div>
		    <div class="login">
            <div class="login_content"><a  href="<?php echo str_replace('&', '&amp;', $account); ?>">Manage account</a></div>
			</div>
		   <?php } ?>
    </div>
    
    <div class="banner_logo">
	<?php
	if(count($logos)>0)
	{
		foreach($logos as $logo)
		{
			$web='#';
			if($logo['weblink']!='')
			{
				$web="http://".$logo['weblink'];
			}
			echo '<a href="'.$web.'"><img src="image/'.$logo['image'].'" width="140" title="'.$logo['name'].'"/></a>';
		}
	}
	?>
        <!--<img src="catalog/view/theme/default/image/img_company_logo.jpg" />
        <img src="catalog/view/theme/default/image/img_company_logo.jpg" />
        <img src="catalog/view/theme/default/image/img_company_logo.jpg" />-->
    </div>
</div>